package com.wodsy.phoenix.dataobject.goodsc.model.search;

import java.util.ArrayList;
import java.util.List;

import com.wodsy.phoenix.dataobject.base.PhoenixObject;
import com.wodsy.phoenix.dataobject.base.PhoenixRequest;
import com.wodsy.phoenix.dataobject.base.PhoenixResponse;

public class SearchResultList extends PhoenixObject implements java.io.Serializable,PhoenixRequest,PhoenixResponse{

	private static final long serialVersionUID = 1L;
	
	private List<SearchGoods> list = new ArrayList<SearchGoods>();
	private int count;  // 搜索结果总数
	private int page;   //当前页数
	private int cPage;  //总页数
	
	public SearchResultList(List<SearchGoods> list,int count,int page,int cPage){
		this.list = list;
		this.count = count;
		this.page = page;
		this.cPage = page;
	}
	
	public List<SearchGoods> getList() {
		return list;
	}

	public void setList(List<SearchGoods> list) {
		this.list = list;
	}

	public int getCount() {
		return count;
	}

	public void setCount(int count) {
		this.count = count;
	}
	
	public int getPage() {
		return page;
	}
	public void setPage(int page) {
		this.page = page;
	}

	public int getcPage() {
		return cPage;
	}

	public void setcPage(int cPage) {
		this.cPage = cPage;
	}
	
}
